package com.example.learn.spring.starter.knife4j.annotation;

import com.example.learn.spring.starter.knife4j.config.Knife4jAutoConfiguration;
import com.example.learn.spring.starter.knife4j.support.SwaggerProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spring.web.plugins.Docket;

import java.lang.annotation.*;

@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableConfigurationProperties(SwaggerProperties.class)
@Import(Knife4jAutoConfiguration.class)
public @interface EnableMyKnife4j {
}
